<%@ page language="java" contentType="text/html; charset=utf8"
    pageEncoding="utf8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />

  <title>管理员中心</title>
  <link rel="stylesheet" type="text/css" href="style2.css" media="all" />
  <link rel="stylesheet" media="all" href="style/css/prettyPhoto.css" type="text/css" />
  <link rel="stylesheet" media="all" href="style/css/tipTip.css" type="text/css" />
  <link rel="stylesheet" href="style/css/nivo-slider.css" type="text/css" media="screen" />
  <link rel="stylesheet" href="style/css/nivostyle.css" type="text/css" media="screen" />
  <script type="text/javascript" src="style/js/jquery-1.5.min.js"></script>
  <script type="text/javascript" src="style/js/quicksand.js"></script>
  <script type="text/javascript" src="style/js/scripts.js"></script>
  <script type="text/javascript" src="style/js/jquery.prettyPhoto.js"></script>
  <script type="text/javascript" src="style/js/twitter.min.js"></script>
  <script src="style/js/jquery.form.js" type="text/javascript" charset="utf-8"></script>
  <script type="text/javascript">
  $(document).ready(function() {
  $('#submitform').ajaxForm({
  target: '#error',
  success: function() {
  $('#error').fadeIn('slow');
  }
  });
  });
  </script>
  <script type="text/javascript">
  	${mes}
  </script>
</head>

<body>
  <a name="top" id="top"></a>

  <!-- Top Strip -->

  <div id="strip"></div>

  <div id="container">
    <!-- Begin Header -->

    <div id="header">
      <img src="style/images/logo.png" width="248" height="134" alt="" class="logo" /> <!-- Begin Social Links -->
	  
    </div><!-- End Header -->

    <div id="wrapper">
      <!-- Left Menu Links -->

      <div id="smoothmenu1">
        <ul id="tab-menu" class="ddsmoothmenu">
          <li>录入电影</li>

          <li>录入版本</li>

          <li>录入类型</li>

          <li>录入演员</li>

          <li>录入剧照</li>
          
          <li>添加影院</li>
          
          <li>添加影厅</li>
        </ul><!-- Introduction Page Starts -->

        <div class="tab-content">
          <div class="tab show">
            <h1>录入电影</h1>
            <div class="contact-left">
              <form method="post" action='/addMovie.do' name="submitform" enctype="multipart/form-data">
                <p class="label">片名</p><input id='form_name' type='text' name='name' />
                <p class="label">封面</p><input id='form_name' type='file' name='cover' />
                <p class="label">简介</p><textarea id='form_message' rows='10' cols='10' name='profile'></textarea><br />
                <p class="label">上映时间</p><input id='form_name' type="text" name="onTime" />
                <p class="label">下架时间</p><input id='form_name' type="text" name="offTime" />
                <p class="label">国家</p><input id='form_name' type='text' name='country' />
                <p class="label">导演</p><input id='form_email' type='text' name='director' />
                <p class="label">片长</p><input id='form_email' type='text' name='length' />
                <input id='form_submit' type='submit' name='submit' /><input id="reset" type="reset" value="重置" />
              </form>
              <div id="error"></div>
            </div>
          </div>
          <div class="tab">
            <h1>录入版本</h1>
            <div class="contact-left">
              <form method='post' action='/addVersion.do' name="submitform">
                <p class="label">片名</p><input id='form_name' type='text' name='name' />

                <p class="label">版本</p><input id='form_email' type='text' name='version' />

                <p class="label">价格</p><input id='form_email' type='text' name='price' />
                
				<input id='form_submit' type='submit' name='submit' /><input id="reset" type="reset" value="重置" />
              </form>

              <div id="error"></div>
            </div>
          </div>
          
          <div class="tab">
            <h1>录入类型</h1>
			<div class="contact-left">
              <form method='post' action='/addType.do' name="submitform">
                <p class="label">片名</p><input id='form_name' type='text' name='name' />

                <p class="label">类型</p><input id='form_email' type='text' name='type' />

				<input id='form_submit' type='submit' name='submit' /> <input id="reset" type="reset" value="重置" />
              </form>
              <div id="error"></div>
            </div>
          </div>
          
          <div class="tab">
            <h1>录入演员</h1>
			<div class="contact-left">
              <form method='post' action='/addActor.do' name="submitform">
                <p class="label">片名</p><input id='form_name' type='text' name='name' />

                <p class="label">演员名称</p><input id='form_email' type='text' name='actor' />
				<input id='form_submit' type='submit' name='submit' /> <input id="reset" type="reset" value="重置" />
              </form>

              <div id="error"></div>
            </div>
          </div><!-- Services Page Ends -->
          
          <div class="tab">
            <h1>录入剧照</h1>
			<div class="contact-left">
              <form method='post' action='/addPhoto.do' name="submitform" enctype="multipart/form-data">
                <p class="label">片名</p><input id='form_name' type='text' name='name' />

                <p class="label">剧照</p><input id='form_email' type='file' name='photo' />
	            <input id='form_submit' type='submit' name='submit' />
              </form>

              <div id="error"></div>
            </div>
          </div>
          <div class="tab">
            <h1>添加影院</h1>
			<div class="contact-left">
              <form method='post' action='/addCinema.do' name="submitform">
                <p class="label">城市</p><input id='form_name' type='text' name='city' />
                <p class="label">名称</p><input id='form_name' type='text' name='name' />
	            <input id='form_submit' type='submit' name='submit' value="添加" />
              </form>

              <div id="error"></div>
            </div>
          </div>
          <div class="tab">
            <h1>添加影厅</h1>
			<div class="contact-left">
              <form method='post' action='/addHall.do' name="submitform">
                <p class="label">影院名称</p><input id='form_name' type='text' name='cinemaName' />
                <p class="label">影厅名称</p><input id='form_name' type='text' name='name' />
	            <input id='form_submit' type='submit' name='submit' value="添加" />
              </form>

              <div id="error"></div>
            </div>
          </div>
          <!-- ---- -->
          <div class="tab">
            <h1>Featured Work</h1><!-- Page Tabs -->

            <ul class="inner_tab">
              <li><a href="#">2 Projects Example</a></li>

              <li><a href="#">Slide Thumbs Example</a></li>

              <li><a href="#">Single Project</a></li>
            </ul><!-- tab "panes" -->

            <div class="panes">
              <div>
				<div class="clear"></div><br />
                <div class="one-half">
                  <a href="style/images/art/large.jpg" rel="prettyPhoto" title="Add a title if you like"><img src=
                  "style/images/featured.jpg" alt="" width="330" height="210" class="featured-left" /></a>
                </div>

                <div class="one-half last">
                  <h3>A Web Design Project</h3>

					<button><a href="#">Visit Site</a></button>
                </div>

                <div class="clear"></div>

                <div class="divider3"></div>

                <div class="one-half">
                  <a href="style/images/art/large.jpg" rel="prettyPhoto" title="Add a title if you like"><img src=
                  "style/images/featured.jpg" alt="" width="330" height="210" class="featured-left" /></a>
                </div>

                <div class="one-half last">
                  <h3>A Web Design Project</h3>

					<button><a href="#">Visit Site</a></button>
                </div>
              </div>
              <div>
                <div id="preview_wrap">
                  <div id="preview_outer">
                    <div id="preview_inner">
                      <div>
                        <img src="style/images/slider1.jpg" alt="" /> <a href="#">Project Link</a>
                      </div>

                      <div>
                        <img src="style/images/slider2.jpg" alt="" /> <a href="#">Project Link</a>
                      </div>

                      <div>
                        <img src="style/images/slider3.jpg" alt="" /> <a href="#">Project Link</a>
                      </div>
                    </div>
                  </div>
                </div>

                <div id="thumbs">
                  <div id="arrow"></div><span><img src="style/images/1-s.jpg" width="40" height="40" alt="" /></span>
                  <span><img src="style/images/2-s.jpg" width="40" height="40" alt="" /></span> <span><img src=
                  "style/images/3-s.jpg" width="40" height="40" alt="" /></span>
                </div><!-- End Slide Thumbs -->

				<button><a href="#">Visit Site</a></button>
              </div>
              <div>
                <a href="style/images/art/6_large.jpg" rel="prettyPhoto" title="Add a title if you like"><img src=
                "style/images/single.jpg" alt="" class="featured-single" width="648" height="206" /></a>

                <div class="clear"></div><br />

                <div class="divider"></div><br />

                <div class="one-half">
                  <h2>A Web Design Project</h2>

                </div>

                <div class="one-half last">
                  
                </div>
              </div>
            </div>
          </div><!-- Featured Ends -->
          
          <!-- ---- -->

          <div class="clearfix"></div>
        </div><!-- End -->
        <!-- TWITTER - ADD YOUR USERNAME IN ID INSTEAD OF MINE -->
		<div class="clear"></div>
      </div>
    </div>

    <div class="clearfix"></div>

    <div class="push"></div>
  </div><!-- Begin Footer -->

  <div id="footer-wrapper">
    <div id="footer">
      <div id="footer-content">
       
        <div id="copyright">
          <script type="text/javascript">
          var d = new Date()
          document.write(d.getFullYear())
          document.write(d.getMonth() + 1)
          document.write(d.getDate())
          </script>
        </div>

        <p id="back-top"><a href="#top" class="tip_top" title="back to top">top &uarr;</a></p><!-- End Copyright -->
        
      </div>
    </div>
  </div>
</body>
</html>